package com.wwg.market.ui.service.dto;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2011-11-10
 * Time: 18:17:35
 * To change this template use File | Settings | File Templates.
 */
public class AttributeDto extends BaseDto {
    private Long categoryId;
    private String name;
    private String type;
    private String description;
    private Boolean required = Boolean.FALSE;
    private List<GeneralCodeDto> codes;

    public List<GeneralCodeDto> getCodes() {
        return codes;
    }

    public void setCodes(List<GeneralCodeDto> codes) {
        this.codes = codes;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
